package com.zsy.petshop_01.service;

import com.zsy.petshop_01.common.result.ResponseResult;
import com.zsy.petshop_01.model.vo.product.InsertVo;
import com.zsy.petshop_01.model.vo.product.UpdateVo;

public interface ProductService {
    ResponseResult<?> selectAll();

    ResponseResult<?> selectByName(String name);

    ResponseResult<?> insert(InsertVo insertVo);

    ResponseResult<?> update(UpdateVo updateVo);

    ResponseResult<?> delete(Integer id);
}
